package com.foreknow.demo6;

import java.util.Scanner;

public class Test {
        public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入一个数num: ");
        int num = input.nextInt();
        boolean isRight = Example2.guess(num);
        if(isRight) {
            System.out.println("存在");
        }else {
            System.out.println("不存在");
        }

    }
}
